package com.xxx.study.designmodel.c抽象工厂模式;

/**
 * 组合方案1 InterCpu + 戴尔主板
 */
public class AbstractFactoryScheme1 implements AbstractFactory {

    public CPUApi createCPU() {
        return new InterCPU(99);
    }

    public MainBoardApi createMainBoard() {
        return new DellMainBoard(1);
    }
}
